package com.itqf.dao;

import com.itqf.entity.Type;

import java.sql.SQLException;
import java.util.List;

/**
 * 商品类别模块数据访问层接口
 */
public interface TypeDao {

    //查询所有数据
    List<Type> selectAll() throws SQLException;

    List<Type> queryAll() throws SQLException;

    void addType(Type type) throws SQLException;

    Type selectTypeByTid(String tid) throws SQLException;
}
